package com.bdqn.qnnews.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author xlz
 * @since 2023-12-19
 * @description APP实名认证信息表
 */
@Data
// 链式语法
@Accessors(chain = true)
@TableName("ap_user_realname")
@Schema(name = "ApUserRealname 对象", description = "APP实名认证信息表 实体类")
public class ApUserRealname {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "账号ID")
    private Integer userId;

    @Schema(description = "用户名称")
    private String name;

    @Schema(description = "资源名称")
    private String idno;

    @Schema(description = "正面照片")
    private String fontImage;

    @Schema(description = "背面照片")
    private String backImage;

    @Schema(description = "手持照片")
    private String holdImage;

    @Schema(description = "活体照片")
    private String liveImage;

    @Schema(description = "状态	 0 创建中   1 待审核	2 审核失败  9 审核通过")
    private Byte status;

    @Schema(description = "拒绝原因")
    private String reason;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;

    @Schema(description = "提交时间")
    private LocalDateTime submitedTime;

    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;


}
